package com.shangqing.system.service.geology.impl;

import com.shangqing.common.core.domain.entity.geologic.DisastersType;
import com.shangqing.system.mapper.geology.DisastersTypeMapper;
import com.shangqing.system.service.geology.DisastersTypeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class DisastersTypeServiceImpl implements DisastersTypeService {
    @Autowired
    DisastersTypeMapper disastersTypeMapper;
    @Override
    public String findDisastersTypeById(String disastersTypeId) {
        if(disastersTypeId !=null){
            return disastersTypeMapper.findDisastersTypeById(disastersTypeId);
        }
        return null;
    }
}
